package com.shijianchen.utils;

import com.shijianchen.projo.SpOtherAdmin;
import io.jsonwebtoken.Claims;
import org.springframework.http.HttpHeaders;

import java.lang.reflect.Field;
import java.util.List;

public class BaseControllerUtil {
    public static Claims getUserInfo(String token) throws Exception {
        return JwtUtil.decode(token);
    }
}
